package com.yswy.domain.vo.gld.addOrUpate;

import com.yswy.domain.vo.gld.addOrUpate.base.BaseReqVO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @author 19401
 * @date 2022/6/6 17:09
 **/
@Data
public class WhitelistAppUserAddOrUpdate extends BaseReqVO {
    @NotNull(message = "ID不能为空", groups = {UPDATE.class , DElECT.class})
    private Long id;
    @ApiModelProperty("设备 ID")
    @NotEmpty(message = "设备 ID不能为空", groups = {CREATE.class})
    private String deviceId;
    @ApiModelProperty("oaid")
    @NotEmpty(message = "oaid不能为空", groups = {CREATE.class})
    private String oaid ;
    @ApiModelProperty("设备编号")
    @NotEmpty(message = "设备编号不能为空", groups = {CREATE.class})
    private String phoneNo ;
    @ApiModelProperty("设备型号")
    @NotEmpty(message = "设备型号不能为空", groups = {CREATE.class})
    private String modelInfo;
}
